
// It's generated file. DO NOT MODIFY IT!

using Diablerie.Engine.Datasheets;
using Diablerie.Engine.IO.D2Formats;

class SkillInfoLoader : Datasheet.Loader<SkillInfo>
{

    public void LoadRecord(ref SkillInfo record, DatasheetStream stream)
    {
                stream.Read(ref record.skill);
                stream.Read(ref record.id);
                stream.Read(ref record.charClass);
                stream.Read(ref record.skillDescId);
                stream.Read(ref record.srvStartFunc);
                stream.Read(ref record.srvDoFunc);
                record.unused = new string[54];
                    stream.Read(ref record.unused[0]);
                    stream.Read(ref record.unused[1]);
                    stream.Read(ref record.unused[2]);
                    stream.Read(ref record.unused[3]);
                    stream.Read(ref record.unused[4]);
                    stream.Read(ref record.unused[5]);
                    stream.Read(ref record.unused[6]);
                    stream.Read(ref record.unused[7]);
                    stream.Read(ref record.unused[8]);
                    stream.Read(ref record.unused[9]);
                    stream.Read(ref record.unused[10]);
                    stream.Read(ref record.unused[11]);
                    stream.Read(ref record.unused[12]);
                    stream.Read(ref record.unused[13]);
                    stream.Read(ref record.unused[14]);
                    stream.Read(ref record.unused[15]);
                    stream.Read(ref record.unused[16]);
                    stream.Read(ref record.unused[17]);
                    stream.Read(ref record.unused[18]);
                    stream.Read(ref record.unused[19]);
                    stream.Read(ref record.unused[20]);
                    stream.Read(ref record.unused[21]);
                    stream.Read(ref record.unused[22]);
                    stream.Read(ref record.unused[23]);
                    stream.Read(ref record.unused[24]);
                    stream.Read(ref record.unused[25]);
                    stream.Read(ref record.unused[26]);
                    stream.Read(ref record.unused[27]);
                    stream.Read(ref record.unused[28]);
                    stream.Read(ref record.unused[29]);
                    stream.Read(ref record.unused[30]);
                    stream.Read(ref record.unused[31]);
                    stream.Read(ref record.unused[32]);
                    stream.Read(ref record.unused[33]);
                    stream.Read(ref record.unused[34]);
                    stream.Read(ref record.unused[35]);
                    stream.Read(ref record.unused[36]);
                    stream.Read(ref record.unused[37]);
                    stream.Read(ref record.unused[38]);
                    stream.Read(ref record.unused[39]);
                    stream.Read(ref record.unused[40]);
                    stream.Read(ref record.unused[41]);
                    stream.Read(ref record.unused[42]);
                    stream.Read(ref record.unused[43]);
                    stream.Read(ref record.unused[44]);
                    stream.Read(ref record.unused[45]);
                    stream.Read(ref record.unused[46]);
                    stream.Read(ref record.unused[47]);
                    stream.Read(ref record.unused[48]);
                    stream.Read(ref record.unused[49]);
                    stream.Read(ref record.unused[50]);
                    stream.Read(ref record.unused[51]);
                    stream.Read(ref record.unused[52]);
                    stream.Read(ref record.unused[53]);
                stream.Read(ref record.summon);
                stream.Read(ref record.pettype);
                stream.Read(ref record.petmax);
                stream.Read(ref record.summode);
                record.sumcalcs = new string[10];
                    stream.Read(ref record.sumcalcs[0]);
                    stream.Read(ref record.sumcalcs[1]);
                    stream.Read(ref record.sumcalcs[2]);
                    stream.Read(ref record.sumcalcs[3]);
                    stream.Read(ref record.sumcalcs[4]);
                    stream.Read(ref record.sumcalcs[5]);
                    stream.Read(ref record.sumcalcs[6]);
                    stream.Read(ref record.sumcalcs[7]);
                    stream.Read(ref record.sumcalcs[8]);
                    stream.Read(ref record.sumcalcs[9]);
                stream.Read(ref record.sumumod);
                stream.Read(ref record.sumoverlay);
                stream.Read(ref record.stsuccessonly);
                stream.Read(ref record._stsound);
                record.unused2 = new string[10];
                    stream.Read(ref record.unused2[0]);
                    stream.Read(ref record.unused2[1]);
                    stream.Read(ref record.unused2[2]);
                    stream.Read(ref record.unused2[3]);
                    stream.Read(ref record.unused2[4]);
                    stream.Read(ref record.unused2[5]);
                    stream.Read(ref record.unused2[6]);
                    stream.Read(ref record.unused2[7]);
                    stream.Read(ref record.unused2[8]);
                    stream.Read(ref record.unused2[9]);
                stream.Read(ref record.castOverlayId);
                stream.Read(ref record.clientOverlayA);
                stream.Read(ref record.clientOverlayB);
                stream.Read(ref record.clientStartFunc);
                stream.Read(ref record.clientDoFunc);
                stream.Read(ref record.clientPrqFunc1);
                stream.Read(ref record.clientPrqFunc2);
                stream.Read(ref record.clientPrqFunc3);
                stream.Read(ref record.clientMissile);
                stream.Read(ref record.clientMissileA);
                stream.Read(ref record.clientMissileB);
                stream.Read(ref record.clientMissileC);
                stream.Read(ref record.clientMissileD);
                record.clientCalcs = new string[6];
                    stream.Read(ref record.clientCalcs[0]);
                    stream.Read(ref record.clientCalcs[1]);
                    stream.Read(ref record.clientCalcs[2]);
                    stream.Read(ref record.clientCalcs[3]);
                    stream.Read(ref record.clientCalcs[4]);
                    stream.Read(ref record.clientCalcs[5]);
                stream.Read(ref record.warp);
                stream.Read(ref record.immediate);
                stream.Read(ref record.enhanceable);
                stream.Read(ref record.attackRank);
                stream.Read(ref record.noAmmo);
                stream.Read(ref record._range);
                stream.Read(ref record.weapSel);
                stream.Read(ref record.itemTypeA1);
                stream.Read(ref record.itemTypeA2);
                stream.Read(ref record.itemTypeA3);
                stream.Read(ref record.eItemTypeA1);
                stream.Read(ref record.eItemTypeA2);
                stream.Read(ref record.itemTypeB1);
                stream.Read(ref record.itemTypeB2);
                stream.Read(ref record.itemTypeB3);
                stream.Read(ref record.eItemTypeB1);
                stream.Read(ref record.eItemTypeB2);
                stream.Read(ref record.anim);
                stream.Read(ref record.seqTrans);
                stream.Read(ref record.monAnim);
                stream.Read(ref record.seqNum);
                stream.Read(ref record.seqInput);
                stream.Read(ref record.durability);
                stream.Read(ref record.useAttackRate);
                stream.Read(ref record.lineOfSight);
                stream.Read(ref record.targetableOnly);
                stream.Read(ref record.searchEnemyXY);
                stream.Read(ref record.searchEnemyNear);
                stream.Read(ref record.searchOpenXY);
                stream.Read(ref record.selectProc);
                stream.Read(ref record.targetCorpse);
                stream.Read(ref record.targetPet);
                stream.Read(ref record.targetAlly);
                stream.Read(ref record.targetItem);
                record.unused3 = new string[77];
                    stream.Read(ref record.unused3[0]);
                    stream.Read(ref record.unused3[1]);
                    stream.Read(ref record.unused3[2]);
                    stream.Read(ref record.unused3[3]);
                    stream.Read(ref record.unused3[4]);
                    stream.Read(ref record.unused3[5]);
                    stream.Read(ref record.unused3[6]);
                    stream.Read(ref record.unused3[7]);
                    stream.Read(ref record.unused3[8]);
                    stream.Read(ref record.unused3[9]);
                    stream.Read(ref record.unused3[10]);
                    stream.Read(ref record.unused3[11]);
                    stream.Read(ref record.unused3[12]);
                    stream.Read(ref record.unused3[13]);
                    stream.Read(ref record.unused3[14]);
                    stream.Read(ref record.unused3[15]);
                    stream.Read(ref record.unused3[16]);
                    stream.Read(ref record.unused3[17]);
                    stream.Read(ref record.unused3[18]);
                    stream.Read(ref record.unused3[19]);
                    stream.Read(ref record.unused3[20]);
                    stream.Read(ref record.unused3[21]);
                    stream.Read(ref record.unused3[22]);
                    stream.Read(ref record.unused3[23]);
                    stream.Read(ref record.unused3[24]);
                    stream.Read(ref record.unused3[25]);
                    stream.Read(ref record.unused3[26]);
                    stream.Read(ref record.unused3[27]);
                    stream.Read(ref record.unused3[28]);
                    stream.Read(ref record.unused3[29]);
                    stream.Read(ref record.unused3[30]);
                    stream.Read(ref record.unused3[31]);
                    stream.Read(ref record.unused3[32]);
                    stream.Read(ref record.unused3[33]);
                    stream.Read(ref record.unused3[34]);
                    stream.Read(ref record.unused3[35]);
                    stream.Read(ref record.unused3[36]);
                    stream.Read(ref record.unused3[37]);
                    stream.Read(ref record.unused3[38]);
                    stream.Read(ref record.unused3[39]);
                    stream.Read(ref record.unused3[40]);
                    stream.Read(ref record.unused3[41]);
                    stream.Read(ref record.unused3[42]);
                    stream.Read(ref record.unused3[43]);
                    stream.Read(ref record.unused3[44]);
                    stream.Read(ref record.unused3[45]);
                    stream.Read(ref record.unused3[46]);
                    stream.Read(ref record.unused3[47]);
                    stream.Read(ref record.unused3[48]);
                    stream.Read(ref record.unused3[49]);
                    stream.Read(ref record.unused3[50]);
                    stream.Read(ref record.unused3[51]);
                    stream.Read(ref record.unused3[52]);
                    stream.Read(ref record.unused3[53]);
                    stream.Read(ref record.unused3[54]);
                    stream.Read(ref record.unused3[55]);
                    stream.Read(ref record.unused3[56]);
                    stream.Read(ref record.unused3[57]);
                    stream.Read(ref record.unused3[58]);
                    stream.Read(ref record.unused3[59]);
                    stream.Read(ref record.unused3[60]);
                    stream.Read(ref record.unused3[61]);
                    stream.Read(ref record.unused3[62]);
                    stream.Read(ref record.unused3[63]);
                    stream.Read(ref record.unused3[64]);
                    stream.Read(ref record.unused3[65]);
                    stream.Read(ref record.unused3[66]);
                    stream.Read(ref record.unused3[67]);
                    stream.Read(ref record.unused3[68]);
                    stream.Read(ref record.unused3[69]);
                    stream.Read(ref record.unused3[70]);
                    stream.Read(ref record.unused3[71]);
                    stream.Read(ref record.unused3[72]);
                    stream.Read(ref record.unused3[73]);
                    stream.Read(ref record.unused3[74]);
                    stream.Read(ref record.unused3[75]);
                    stream.Read(ref record.unused3[76]);
                stream.Read(ref record.hitShift);
                stream.Read(ref record.srcDamage);
                stream.Read(ref record.minDamage);
                record.minDamagePerLevel = new int[5];
                    stream.Read(ref record.minDamagePerLevel[0]);
                    stream.Read(ref record.minDamagePerLevel[1]);
                    stream.Read(ref record.minDamagePerLevel[2]);
                    stream.Read(ref record.minDamagePerLevel[3]);
                    stream.Read(ref record.minDamagePerLevel[4]);
                stream.Read(ref record.maxDamage);
                record.maxDamagePerLevel = new int[5];
                    stream.Read(ref record.maxDamagePerLevel[0]);
                    stream.Read(ref record.maxDamagePerLevel[1]);
                    stream.Read(ref record.maxDamagePerLevel[2]);
                    stream.Read(ref record.maxDamagePerLevel[3]);
                    stream.Read(ref record.maxDamagePerLevel[4]);
                stream.Read(ref record.damageSymPerCalc);
                stream.Read(ref record.eType);
                stream.Read(ref record.eMin);
                record.minEDamagePerLevel = new int[5];
                    stream.Read(ref record.minEDamagePerLevel[0]);
                    stream.Read(ref record.minEDamagePerLevel[1]);
                    stream.Read(ref record.minEDamagePerLevel[2]);
                    stream.Read(ref record.minEDamagePerLevel[3]);
                    stream.Read(ref record.minEDamagePerLevel[4]);
                stream.Read(ref record.eMax);
                record.maxEDamagePerLevel = new int[5];
                    stream.Read(ref record.maxEDamagePerLevel[0]);
                    stream.Read(ref record.maxEDamagePerLevel[1]);
                    stream.Read(ref record.maxEDamagePerLevel[2]);
                    stream.Read(ref record.maxEDamagePerLevel[3]);
                    stream.Read(ref record.maxEDamagePerLevel[4]);
                stream.Read(ref record.eDamageSymPerCalc);
                stream.Read(ref record.eLen);
                record.eLenPerLevel = new int[3];
                    stream.Read(ref record.eLenPerLevel[0]);
                    stream.Read(ref record.eLenPerLevel[1]);
                    stream.Read(ref record.eLenPerLevel[2]);
                stream.Read(ref record.eLenSymPerCalc);
                stream.Read(ref record.aiType);
                stream.Read(ref record.aiBonus);
                stream.Read(ref record.costMult);
                stream.Read(ref record.costAdd);
    }
}
